// body {
//     display: flex;
//     justify-content: center;
//     align-items: center;
//     height: 100%;
//     flex-direction: column;
//     font-family: Arial, sans-serif;
// }

.slider-container {
    width: 300px;
    height: 150px;
    background-image: url('./1.png'); /* 滑块容器背景图片 */
    background-size: cover;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.gap {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 45px;
    left: 100px;
    background-color: rgba(255, 255, 255, 0.8); /* 缺口白色半透明 */
    border-radius: 5px;
    z-index: 1; /* 确保缺口在最上层 */
}

.slider {
    width: 40px;
    height: 40px;
    background-image: url('./1.png'); /* 滑块图片 */
    background-size: 300px 170px; /* 与背景图片相同的大小 */
    position: absolute;
    top: 45px;
    left: 0px;
    background-position: -100px -46px; /* 确保滑块图片对齐 */
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease; /* 添加滑动动画效果 */
    z-index: 2; /* 确保滑块在最上层 */
}

.message {
    // margin-top: 20px;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
}

.drag-bar {
    width: 300px;
    height: 40px;
    background-color: gainsboro;
    position: relative;
    // overflow: hidden;
    // margin-top: 20px;
    
}

.drag-handle {
    width: 40px;
    height: 40px;
    background-color: white;
    position: absolute;
    left: 0;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    border-radius: 5px;
}